package jmind.core.test;

import javax.xml.bind.annotation.*;
import java.util.List;

/**
 * @Author: xieweibo
 * @Date: 2018/6/7
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class SubType {

    @XmlAttribute
    private String typeNo ;
    @XmlAttribute
    private String authorizedNo;

    @XmlElementWrapper(name = "resProdCodes")
    @XmlElement(name="resCode")
    private List<ProdCodes> resProdCodes;

    public String getTypeNo() {
        return typeNo;
    }

    public void setTypeNo(String typeNo) {
        this.typeNo = typeNo;
    }

    public String getAuthorizedNo() {
        return authorizedNo;
    }

    public void setAuthorizedNo(String authorizedNo) {
        this.authorizedNo = authorizedNo;
    }

    public List<ProdCodes> getResProdCodes() {
        return resProdCodes;
    }

    public void setResProdCodes(List<ProdCodes> resProdCodes) {
        this.resProdCodes = resProdCodes;
    }
}
